<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type='text/javascript' src='../js/vue.js'></script>
</head>

<body>
    <!-- 
        MVVVM：Model View ViewModel
                |      |      |
              数据    模板   实例
     -->


     <!-- View -->
    <div id='root'>
        <h1>helloL{{name}}</h1>
        <h1>sex:{{sex}}</h1>
    </div>
    <script type='text/javascript'>
        Vue.config.priductionTip = false;
        new Vue({//ViewModel
            el:'#root',
            data:{
                // Model
                name:'宋',
                sex:'male'
            }
        })
 

    </script>
</body>

</html>